/**
 * @author xinjie.txt
 * @time: 2020年7月8日 下午10:44:12
 */
package com.jiepu.exercise.primary.chapter5.exercise2;

/**
 * @Description:
 * @author xinjie.txt
 */
public class Track {

	private String title;
	private Duration duration;
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the duration
	 */
	public Duration getDuration() {
		return duration;
	}
	/**
	 * @param duration the duration to set
	 */
	public void setDuration(Duration duration) {
		this.duration = duration;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "my Track title is: " + title + " duration is: " + duration;
	}
	
	
}
